home *** CD-ROM | disk | FTP | other *** search
-
-
-
- hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX)))) hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _hhhh_wwww_gggg_rrrr_aaaa_pppp_hhhh_...._llll_eeee_gggg_aaaa_cccc_yyyy_:::: gio_hwgraph_lookup, io4_hwgraph_lookup,
- vme_hwgraph_lookup - legacy device hardware support
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////hhhhwwwwggggrrrraaaapppphhhh....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ddddddddiiii....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////iiiinnnnvvvveeeennnntttt....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ggggiiiioooobbbbuuuussss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////EEEEVVVVEEEERRRREEEESSSSTTTT////iiiioooo4444....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////vvvvmmmmeeeerrrreeeegggg....hhhh>>>>
-
- ggggrrrraaaapppphhhh____eeeerrrrrrrroooorrrr____tttt
- ggggiiiioooo____hhhhwwwwggggrrrraaaapppphhhh____llllooooooookkkkuuuupppp((((ccccaaaaddddddddrrrr____tttt _a_d_d_r,,,, vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt ****_r_e_t))));;;;
-
- ggggrrrraaaapppphhhh____eeeerrrrrrrroooorrrr____tttt
- iiiioooo4444____hhhhwwwwggggrrrraaaapppphhhh____llllooooooookkkkuuuupppp((((uuuuiiiinnnntttt _s_l_o_t,,,, vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt ****_r_e_t))));;;;
-
- ggggrrrraaaapppphhhh____eeeerrrrrrrroooorrrr____tttt
- vvvvmmmmeeee____hhhhwwwwggggrrrraaaapppphhhh____llllooooooookkkkuuuupppp((((uuuuiiiinnnntttt _a_d_a_p_t_e_r,,,, vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt ****_r_e_t))));;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _a_d_d_r The memory address of the device (used to determine the GIO
- slot).
-
- _a_d_a_p_t_e_r The VME adapter number of the VME bus to which the device is
- attached.
-
- _s_l_o_t An IO4 slot number.
-
- _r_e_t A vertex representing the desired bus.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- These functions provide rudimentary hardware graph support for legacy
- devices which use the GIO, HIO, or VME busses. Devices using newer
- busses, such as PCI or XTALK should use the facilities that support the
- appropriate bus.
-
- The routines described herein are provided to allow older devices to
- appear in the hardware graph file system.
-
- gio_hwgraph_lookup
- This routine returns a vertex for the GIO bus slot the device is
- using. _a_d_d_r represents a memory address for the device; this is
- normally the _e__b_a_s_e address from the _e_d_t structure.
-
- io4_hwgraph_lookup
- This routine returns a vertex for the IO4 to which the device is
- attached. _s_l_o_t represents an EBUS slot.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX)))) hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX))))
-
-
-
- vme_hwgraph_lookup
- This routine returns a vertex for the VME bus the device is using.
- _a_d_a_p_t_e_r represents a VME adapter number for the device; this is
- normally the _e__a_d_a_p value from the _e_d_t structure.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- These routines return GRAPH_SUCCESS if successful. Otherwise, the
- following diagnostic can be returned:
-
- GRAPH_NOT_FOUND
- No node was found for the desired bus entry.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- hinv(1), ioconfig(1), getinvent(3), hwgraph.dev(D3X), hwgraph.intro(D4X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-